package dao;

import java.util.Date;

/**
 * AbstractAdminmsg entity provides the base persistence definition of the
 * Adminmsg entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class AbstractAdminmsg implements java.io.Serializable {

	// Fields

	private Integer adminmsgid;
	private User user;
	private Admin admin;
	private String msgtitle;
	private String msginfo;
	private Date msgdate;
	private String adminfullname;
	private String msgstatus;

	// Constructors

	/** default constructor */
	public AbstractAdminmsg() {
	}

	/** full constructor */
	public AbstractAdminmsg(User user, Admin admin, String msgtitle,
			String msginfo, Date msgdate, String adminfullname, String msgstatus) {
		this.user = user;
		this.admin = admin;
		this.msgtitle = msgtitle;
		this.msginfo = msginfo;
		this.msgdate = msgdate;
		this.adminfullname = adminfullname;
		this.msgstatus = msgstatus;
	}

	// Property accessors

	public Integer getAdminmsgid() {
		return this.adminmsgid;
	}

	public void setAdminmsgid(Integer adminmsgid) {
		this.adminmsgid = adminmsgid;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Admin getAdmin() {
		return this.admin;
	}

	public void setAdmin(Admin admin) {
		this.admin = admin;
	}

	public String getMsgtitle() {
		return this.msgtitle;
	}

	public void setMsgtitle(String msgtitle) {
		this.msgtitle = msgtitle;
	}

	public String getMsginfo() {
		return this.msginfo;
	}

	public void setMsginfo(String msginfo) {
		this.msginfo = msginfo;
	}

	public Date getMsgdate() {
		return this.msgdate;
	}

	public void setMsgdate(Date msgdate) {
		this.msgdate = msgdate;
	}

	public String getAdminfullname() {
		return this.adminfullname;
	}

	public void setAdminfullname(String adminfullname) {
		this.adminfullname = adminfullname;
	}

	public String getMsgstatus() {
		return this.msgstatus;
	}

	public void setMsgstatus(String msgstatus) {
		this.msgstatus = msgstatus;
	}

}